import { createApp } from "vue";
import App from "./App.vue";

import moment from "moment";
import "moment/locale/zh-cn";

moment.locale("zh-cn");

// UnoCSS reset + utilities
import "@unocss/reset/tailwind.css";
import "uno.css";
// Element Plus 基础样式（包含 CSS 变量等），按需引入场景需要引入一次
import "element-plus/dist/index.css";

// 字体和图标
import "@/assets/font/font.css";
import "@/assets/iconfont/iconfont.css";

// 路由
import router from "./router";

// 主题色和 element-plus 重写合并引入
import "./assets/styles/theme.css";
import "./assets/styles/element-overrides.css";
import "./assets/utils/rem";

const app = createApp(App);
app.use(router).mount("#app");
